package com.warom.sdg.dto;

import com.google.gson.annotations.SerializedName;

/**
 * 操作日志数据传输对象
 */
public class OperationLogDto {
    /**
     * 日志ID
     */
    @SerializedName("id")
    private Long id;

    /**
     * 用户名
     */
    @SerializedName("username")
    private String username;

    /**
     * 操作类型
     */
    @SerializedName("operationType")
    private String operationType;

    /**
     * 操作描述
     */
    @SerializedName("operationDescription")
    private String operationDescription;

    /**
     * 操作页面
     */
    @SerializedName("operationPage")
    private String operationPage;

    /**
     * 操作目标
     */
    @SerializedName("operationTarget")
    private String operationTarget;

    /**
     * 操作状态
     */
    @SerializedName("operationStatus")
    private String operationStatus;

    /**
     * 错误信息
     */
    @SerializedName("errorMessage")
    private String errorMessage;

    /**
     * 操作时间
     */
    @SerializedName("operationTime")
    private Long operationTime;

    /**
     * 操作时间字符串
     */
    @SerializedName("operationTimeString")
    private String operationTimeString;

    /**
     * IP地址
     */
    @SerializedName("ipAddress")
    private String ipAddress;

    // 构造函数
    public OperationLogDto() {
    }

    // Getters and Setters
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getOperationDescription() {
        return operationDescription;
    }

    public void setOperationDescription(String operationDescription) {
        this.operationDescription = operationDescription;
    }

    public String getOperationPage() {
        return operationPage;
    }

    public void setOperationPage(String operationPage) {
        this.operationPage = operationPage;
    }

    public String getOperationTarget() {
        return operationTarget;
    }

    public void setOperationTarget(String operationTarget) {
        this.operationTarget = operationTarget;
    }

    public String getOperationStatus() {
        return operationStatus;
    }

    public void setOperationStatus(String operationStatus) {
        this.operationStatus = operationStatus;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public Long getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(Long operationTime) {
        this.operationTime = operationTime;
    }

    public String getOperationTimeString() {
        return operationTimeString;
    }

    public void setOperationTimeString(String operationTimeString) {
        this.operationTimeString = operationTimeString;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }
} 